package com.jzo2o.customer.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import com.jzo2o.customer.model.domain.WorkerCertification;
import com.jzo2o.customer.model.domain.WorkerCertificationRecording;
import org.apache.ibatis.annotations.Select;



public interface ICertificationMapper extends BaseMapper<WorkerCertificationRecording> {

    @Select("select * from `jzo2o-customer`.worker_certification where certification_status=3 and id=#{id}")
    WorkerCertification selectLastRejectReason(long id);
}
